home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EuroCD 3
/
EuroCD 3.iso
/
Programming
/
vbcc
/
machines
/
amiga68k
/
include
/
assert.h
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1998-06-24
|
233 b
|
13 lines
#ifndef __ASSERT_H
#define __ASSERT_H 1
#endif
#undef assert
#ifndef NDEBUG
#define assert(exp) ((void)((exp)?0:fprintf(stderr,"Assertion failed: %d, file %s, line %d\n",(exp),__FILE__,__LINE__)))
#else
#define assert(exp)
#endif